package com.L.yygh.order.client;

import com.L.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("service-order")
@Repository
public interface OrderFeignClient {
    /**
     * 根据排班id获取预约下单数据
     */
    @GetMapping("/api/order/orderInfo/inner/getCountMap")
    Map<String,Object> getCountMap(@RequestParam OrderCountQueryVo orderCountQueryVo);
}
